package cn.homework.mvcboot.pojo.mapper;

import cn.homework.mvcboot.pojo.dto.UserLoginDTO;
import cn.homework.mvcboot.pojo.entity.Article;
import cn.homework.mvcboot.pojo.vo.ArticleVO;
import cn.homework.mvcboot.pojo.vo.UserVO;

public interface UserMapper {

    UserVO selectUserByUsernameAndPassword(UserLoginDTO userLoginDTO);

    int insertArticle(Article article);

    ArticleVO selectById(Long id);
}
